package com.xdj.service;

import com.xdj.pojo.Category;

import java.util.List;

/**
 * ClassName: CategoryService
 * Package: com.xdj.service
 * Description:
 *
 * @Author: 信
 * @Create: 2024/1/11 - 21:08
 */
public interface CategoryService {

    void add(Category category);

    List<Category> list();//正确


    Category detail(Integer id);

    void update(Category category);

    void delete(Integer id);
}
